﻿using JTLeigh.Commerce.Spencer.Features.ProductFeedback.Common.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace JTLeigh.Commerce.Spencer.Features.ProductFeedback.Common.UnitTests.Entities
{

    /// <summary>
    /// Unit tests for the <see cref="ProductReview"/> class.
    /// </summary>
    [TestClass]
    public class ProductReviewFixture
    {

        #region Methods

        #region Constructors

        /// <summary>
        /// Ensures the default constructor initializes the review attribute values collection.
        /// </summary>
        [TestMethod]
        public void TestConstructor()
        {
            ProductReview review;

            review = new ProductReview();
            Assert.IsNotNull(review.AttributeValues);
            Assert.AreEqual(0, review.AttributeValues.Count);
        }

        #endregion // Constructors

        #endregion // Methods

    }

}
